<!--- check if eForms has pre-process prompt --->
<CFQUERY NAME="qryPrompt" DATASOURCE=#client.company_dsn#>
	SELECT UPDATETEMPLATE
	FROM ECRGFORMS
	WHERE FORMCODE = '#GetForm.FORMCODE#'
</CFQUERY>

<CFIF qryPrompt.UPDATETEMPLATE NEQ "">
	<CFIF FileExists("#GetDirectoryFromPath(GetCurrentTemplatePath())#..#application.fileseparator#pre_activities#application.fileseparator##qryPrompt.UPDATETEMPLATE#")>
		<CFINCLUDE TEMPLATE="..\pre_activities\#qryPrompt.UPDATETEMPLATE#">
	</CFIF>
</CFIF>

